import find from './find'
import property from '../object/property'

function findWhere(obj, attrs) {
  return find(obj, property(attrs))
}

export default findWhere
